<!DOCTYPE html>
<html lang="en">
<head>
<title>宁波智博会综合会务管理平台</title>
<link rel="shortcut icon" href="images/logo-small.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/login.css" />

<script type="text/javascript" src="pluginjs/jquery.min.js"></script>
<script type="text/javascript" src="pluginjs/jquery.cookie.js"></script>
<script type="text/javascript" src="pluginjs/errorPage.js"></script>
<script type="text/javascript" src="pagejs/login.js" charset="utf-8"></script>

<script type="text/javascript">
	//cookie中保存用户名

	/* $(document).ready(function() {
		var username = 'username';

		if ($.cookie(username)) {
			$("#userName").val($.cookie(username));
		} else {

			$.cookie(username, $("#userName").val(), {
				path : '/',
				expires : 10
			});
		}

	}); */

	if (top != self) {
		if (top.location != self.location)
			top.location = self.location;
	}

	$(document).ready(function() {
		errorPage();
	})
</script>
</head>
<body>
	<div class="header">
		<p><img src="images/logo-small.png" width="20" height="20" align="absmiddle" />宁波智博会会务综合管理平台</p>
	</div>
	<div class="content">
		<div id="loginbox">
			<div class="titlebar">
				<p>欢迎登录<span id="errorMsg" style="color:red;display:none;font-size=0.5em">用户名秘密不正确！</span></p>
			</div>
			<!--注意，action中的j_spring_security_check是spring security系统定制的地址， -->
			<!--只有写上它，才能调用起authentication这个过滤器！否则无法实现登录验证功能！ -->
			<form id="formLogin" name="formLogin"
				action="j_spring_security_check" method="post">
				
				<div class="formitem">
					<label for="username">帐&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label> <input
						id="username" name="username" type="text" placeholder="用户名" /> <span
						class="warn"></span>
					<!--<a href="javascript:void(0);">注册</a>-->
				</div>
				<div class="formitem">
					<label for="password">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
					<input id="password" name="password" type="password"
						placeholder="密码" /> <span class="warn"></span>
					<!--<a href="javascript:void(0);">忘记密码？</a>-->
				</div>
				<div class="formitem">
						<label for="merchantId">登陆类型：</label>
						<input id="loginType" name="type" type="radio" style="width:3em;width:1.5em" checked value="嘉宾"/>嘉宾 &nbsp;&nbsp;<input name="type" type="radio"  style="width:3em;width:1.5em" value="客商"/>客商
						<!--<span class="warn"></span>-->
				</div> 
				<!-- <div class="formitem">
					<label for="randomCode">验&nbsp;&nbsp;证&nbsp;&nbsp;码：</label> <input
						id="randomCode" name="randomCode" type="text" placeholder="验证码"
						style="width:125px;vertical-align:middle;" /> <img title="点击更换验证码"
						alt="验证码,看不清楚?请点击刷新验证码" src="login/getCode.do"
						onClick="this.src=this.src+'?'+Math.random();"
						style="vertical-align:middle;border:1px solid #ADADAD"><br />
					<span class="warn"></span>
				</div>
 -->
				<div id="warn" style="color: red"></div>
				
				<!-- <input id="remember_me" name="_spring_security_remember_me" type="checkbox" />
				<label for="remember_me" class="inline">Remember me</label> -->
				
				<div class="btn">
					<input id="but_login" type="submit" value="登录" />
				</div>
				<div class="btn">
					<input type="reset" value="重置" />
				</div>
				<div class="clear"></div>
			</form>
		</div>
	</div>

	<div class="footer">
		<p>
			Copyright@宁波市国际贸易投资发展有限公司展览分公司；系统开发：浙江大学软件学院&<a href="http://www.mz3co.com" style="text-decoration:none;" target="_blank">宁波高新区敏智科技有限公司</a>
		</p>
	</div>
</body>
</html>

